#pragma once
#include "opencv2/myopencv.hpp"

class QImage;

class GuiHelper
{
private:
	GuiHelper(void);
	QImage* opencv2QT(cv::Mat& x);
private:
	static GuiHelper* me;
	bool useQT;
public:
	static GuiHelper* getInstance(void);
	void setUseQT();
	void createWindow();
	void draw(cv::Mat& img);
	~GuiHelper(void);
};

